home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 22 / 4 / DISK2247.ZIP / CBASE101.ZIP / BTREE101.ZIP / RLSNOTES.TXT < prev   
Text File  |  1990-06-20  |  2KB  |  105 lines

  1. ----------------------------------------------------------------------
  2. | Citadel                                                            |
  3. | 241 East Eleventh Street * Brookville, IN 47012 * 317-647-4720     |
  4. |                                               BBS 317-647-2403     |
  5. ----------------------------------------------------------------------
  6.  
  7. In this file are summarized the additions and modifications made to
  8. btree this release.  Users upgrading from a previous release should
  9. read it completely.
  10.  
  11.                       btree 1.0.1 Release Notes
  12.                       -------------------------
  13. o AC_* macros (see blkio release notes) used in place of __STDC__ to
  14.   detect ANSI compatibility.
  15.  
  16. o ~NULL replaced with (char *)NULL + 1 in btcursor macro because some
  17.   compilers would not accept the ~ operator on NULL.
  18.  
  19. o btlock bug fixed.
  20.  
  21.  
  22.                        btree 1.0 Release Notes
  23.                        -----------------------
  24. o The btree library has been enhanced to recognize fields. This has
  25.   required changes in the btcreate and btopen parameter lists.  The
  26.   original functions were
  27.  
  28.      int btcreate(char *filename, size_t m, size_t keysize);
  29.      int btopen(char *filename, char *type,
  30.                 int (*cmp)(const void *p1, const void *p2, size_t n));
  31.  
  32.   The new functions are
  33.  
  34.      int btcreate(char *filename, size_t m, size_t keysize,
  35.                                 int fldc, btfield_t btfldv[]);
  36.      int btopen(char *filename, char *type,
  37.                                 int fldc, btfield_t btfldv[]);
  38.  
  39. o btdelete and btdelcur set the cursor to null.
  40.  
  41. o btlock sets the cursor to null when unlocking.
  42.  
  43. o errno macro BTEDUPKEY shortened to BTEDUP
  44.  
  45. o The btree node links are of type bpos_t, and so changing bpos_t also
  46.   changed these links.  See the blkio release notes for explanation of
  47.   the effects of this change.
  48.  
  49. o btkeycmp added to compare btree keys.
  50.  
  51.  
  52.                                                      Citadel  90/06/20
  53.  
  54. o The btfix function has been added to fix corrupt btree files.  This has
  55.   required a slight change in the btree file format.
  56.  
  57. o function prototypes used if __STDC__ == 1
  58.  
  59. o const used if __STDC__ == 1
  60.  
  61. o -A compiler option used in Turbo C installation batch file to set
  62.   __STDC__ to 1.
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.                                                      Citadel  90/06/20
  105.